import java.awt.*;

public class FrameEx extends Frame
{
        FrameEx() {
                this.setTitle("first window");
                this.setBounds(100,100,250,250);
                this.setVisible(true);
             }
        public static void main(String args[])    {
                new FrameEx();
            }
}
